package com.lilinling.yinzhi.model.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lilinling.common.utils.PageUtils;
import com.lilinling.common.utils.Query;

import com.lilinling.yinzhi.model.dao.MmsPanelContentDao;
import com.lilinling.yinzhi.model.entity.MmsPanelContentEntity;
import com.lilinling.yinzhi.model.service.MmsPanelContentService;


@Service("mmsPanelContentService")
public class MmsPanelContentServiceImpl extends ServiceImpl<MmsPanelContentDao, MmsPanelContentEntity> implements MmsPanelContentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MmsPanelContentEntity> page = this.page(
                new Query<MmsPanelContentEntity>().getPage(params),
                new QueryWrapper<MmsPanelContentEntity>()
        );

        return new PageUtils(page);
    }

}